package net.model.device;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;

public class DeviceBean  implements Serializable {
    private String devTid;
    private String ctrlKey;
    private String bindKey;
    private long createTime;
    private String prodKey;
    private String deviceName;
    private String token;
    private String remoteIp;
    private long   onlineAt;
    private long   offlineAt;
    private String ssid;
    private String firmwareVersion;
    private String binType;
    private long   netStatus;


    public DeviceBean(){

    }


    public DeviceBean(String devTid) {
        this.devTid = devTid;
    }

    public String getDevTid() {
        return devTid;
    }

    public void setDevTid(String devTid) {
        this.devTid = devTid;
    }

    public String getCtrlKey() {
        return ctrlKey;
    }

    public void setCtrlKey(String ctrlKey) {
        this.ctrlKey = ctrlKey;
    }

    public String getBindKey() {
        return bindKey;
    }

    public void setBindKey(String bindKey) {
        this.bindKey = bindKey;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }


    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getRemoteIp() {
        return remoteIp;
    }

    public void setRemoteIp(String remoteIp) {
        this.remoteIp = remoteIp;
    }

    public long getOnlineAt() {
        return onlineAt;
    }

    public void setOnlineAt(long onlineAt) {
        this.onlineAt = onlineAt;
    }

    public long getOfflineAt() {
        return offlineAt;
    }

    public void setOfflineAt(long offlineAt) {
        this.offlineAt = offlineAt;
    }

    public String getSsid() {
        return ssid;
    }

    public void setSsid(String ssid) {
        this.ssid = ssid;
    }

    public String getFirmwareVersion() {
        return firmwareVersion;
    }

    public void setFirmwareVersion(String firmwareVersion) {
        this.firmwareVersion = firmwareVersion;
    }

    public String getBinType() {
        return binType;
    }

    public void setBinType(String binType) {
        this.binType = binType;
    }

    public long getNetStatus() {
        return netStatus;
    }

    public void setNetStatus(long netStatus) {
        this.netStatus = netStatus;
    }

    public String getProdKey() {
        return prodKey;
    }

    public void setProdKey(String prodKey) {
        this.prodKey = prodKey;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
